import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import getters from './getters'
import shop from './modules/shop'
import user from './modules/user'

// 创建实例

const store = new Vuex.Store({
  getters,
  modules: {
    user,
    shop,
  },
})

// 导出
export default store
